﻿// Decompiled with JetBrains decompiler
// Type: Netick.NetworkChannel
// Assembly: Netick, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null
// MVID: 6726ECA1-C773-4CF7-8952-E81B30D93B52
// Assembly location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.dll
// XML documentation location: D:\WorkSpaceDemo\UPM\NetickForUnity\Netick\Runtime\Netick.xml

#nullable disable
namespace Netick;

public abstract class NetworkChannel
{
  internal const int IndexBits = 20;
  internal readonly NetickEngine Engine;
  internal readonly NetworkConnection Connection;

  public abstract void Write(BitBuffer buffer);

  public abstract void Read(BitBuffer buffer);

  public abstract void Reset();

  public NetworkChannel(NetickEngine engine, NetworkConnection connection)
  {
    this.Engine = engine;
    this.Connection = connection;
  }
}
